package com.leaf.u_spring.chapter11;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

interface UserRepository extends JpaRepository<User, Long>, UserSweeper{
	User findByUsername(String username);
	
	List<User> findByUsernameOrFullNameLike(String username, String fullName);
}
